#!/bin/bash

# Test the web version. This script is useful when
# slight modifications are done in the web version
# and an immediate check is needed if there is any
# regression introduced.

set -e
cd ../../../../web
../gradlew -Pgdraft=true compileGwt symlinkIntoWar
cd ../test/scripts/benchmark/art-plotter
./runtests-sql -r -p Web -d
./report-sql -c Web
google-chrome html/all.html &
